package com.fruits.domain;

public class Fruit {
    //fid
    private int fid;
    //水果名称
    private String fname;
    private String spec;
    //价格
    private double up;
    //简介
    private String origin;
    //温馨提示
    private String detail;
    //图片数量
    private int inum;
    public Fruit(){}

    public Fruit(int fid, String fname, String spec, double up, String origin, String detail, int inum) {
        this.fid = fid;
        this.fname = fname;
        this.spec = spec;
        this.up = up;
        this.origin = origin;
        this.detail = detail;
        this.inum = inum;
    }

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public double getUp() {
        return up;
    }

    public void setUp(double up) {
        this.up = up;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public int getInum() {
        return inum;
    }

    public void setInum(int inum) {
        this.inum = inum;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

}
